CxFmsExceptionsCtrl Events

The CxFmsExceptionsCtrl object contains the following events.

EndRefresh

A refresh operation has completed.

Syntax

CxFmsExceptionsCtrlObject_EventEndRefresh(Result As Integer, Status As Integer)

Parameters

Parameter Required Description

Result

Yes

An integer specifying whether the refresh succeeded or failed. Possible values for this property are as follows.

  • 0 — Success
  • 1 — Failure

Status

Yes

An integer specifying whether or not the refresh was canceled. Possible values for this property are as follows.

  • 0 — Not canceled
  • 1 — Canceled

Example

The following example displays a message box if the refresh was canceled.

Copy
EndRefresh
Sub FmsExceptions_EventEndRefresh(Result, Status)
Dim This : Set This = FmsExceptions
    If Status = 1 Then
        MsgBox "Refresh canceled"
    End If
End Sub

Back to top

Initialize

The control is initialized.

Syntax

CxFmsExceptionsCtrlObject_EventInitialize()

Example

The following example displays a message box when the control is initialized.

Copy
Initialize
Sub FmsExceptions_EventInitialize()
Dim This : Set This = FmsExceptions
    MsgBox "Control initialized"
End Sub

Back to top

PumpData

(Obsolete)

Back to top

SetSessionNode

The Session Node has been set via the "Set as Session Node" context menu item (or via the Ctrl+Shift+S keyboard shortcut).

Syntax

CxFmsExceptionsCtrlObject_EventSetSessionNode(NodeId As Integer)

Parameters

Parameter Required Description

NodeId

Yes

The ID of the Node that was set as the Session Node.

Example

The following example displays a message box when the Session Node is set.

Copy
SetSessionNode
Sub FmsExceptions_EventSetSessionNode(NodeId)
Dim This : Set This = FmsExceptions
    MsgBox CStr(NodeId)
End Sub

Back to top